Automattic\WooCommerce\GoogleListingsAndAds\API\Site\Controllers\Ads\AccountController S

Total Complexity 14
Dependencies 7
Dependents 1
Total lines 204
Lines of code 129
Logical lines of code 40
Comment lines 56
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
register_routes()
S
46 1 54
create_or_link_account_callback()
S
60 3 14
get_schema_properties()
S
58 1 17
get_accounts_callback()
S
67 2 9
get_ads_account_has_access()
S
67 2 9
__construct()
S
76 1 4
get_connected_ads_account_callback()
S
76 1 5
disconnect_ads_account_callback()
S
66 1 9
get_billing_status_callback()
S
76 1 5
get_schema_title()
S
82 1 3